//
//  FreeCerManagementTableViewHeaderFooterView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/12/14.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "FreeCerManagementTableViewHeaderFooterView.h"

@implementation FreeCerManagementTableViewHeaderFooterView

-(instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        GLGWView * bankgroundView = [[GLGWView alloc] initWithInSuperView:self.contentView];
        bankgroundView.backgroundColor = [UIColor colorWithHexString:@"#F2F2F2"];
        [bankgroundView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self.contentView);
        }];
        //
        self.leftLabel = [[GLGWLabel alloc] initWithFont:SYSTEMFONT(12) theColor:[UIColor colorWithHexString:@"#999999"] inSuperView:bankgroundView];
        self.leftLabel.text = @"身份认证";
        [self.leftLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(bankgroundView);
            make.left.equalTo(bankgroundView.mas_left).offset(kWidthProportion_In_iPhoneTriploid(15));
        }];
    }
    return self;
}

@end
